function cn(e, t) {
  const n = /* @__PURE__ */ Object.create(null), o = e.split(",");
  for (let r = 0; r < o.length; r++)
    n[o[r]] = !0;
  return t ? (r) => !!n[r.toLowerCase()] : (r) => !!n[r];
}
const P = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, ln = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], St = () => {
}, un = /^on[^a-z]/, an = (e) => un.test(e), y = Object.assign, fn = (e, t) => {
  const n = e.indexOf(t);
  n > -1 && e.splice(n, 1);
}, pn = Object.prototype.hasOwnProperty, m = (e, t) => pn.call(e, t), h = Array.isArray, X = (e) => xe(e) === "[object Map]", dn = (e) => xe(e) === "[object Set]", w = (e) => typeof e == "function", $ = (e) => typeof e == "string", Ue = (e) => typeof e == "symbol", v = (e) => e !== null && typeof e == "object", hn = (e) => v(e) && w(e.then) && w(e.catch), _n = Object.prototype.toString, xe = (e) => _n.call(e), Vt = (e) => xe(e).slice(8, -1), gn = (e) => xe(e) === "[object Object]", We = (e) => $(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, xt = (e) => {
  const t = /* @__PURE__ */ Object.create(null);
  return (n) => t[n] || (t[n] = e(n));
}, mn = /-(\w)/g, we = xt((e) => e.replace(mn, (t, n) => n ? n.toUpperCase() : "")), Ne = xt(
  (e) => e.charAt(0).toUpperCase() + e.slice(1)
), oe = (e, t) => !Object.is(e, t), En = (e, t, n) => {
  Object.defineProperty(e, t, {
    configurable: !0,
    enumerable: !1,
    value: n
  });
};
let rt;
const De = () => rt || (rt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
function Be(e) {
  if (h(e)) {
    const t = {};
    for (let n = 0; n < e.length; n++) {
      const o = e[n], r = $(o) ? On(o) : Be(o);
      if (r)
        for (const s in r)
          t[s] = r[s];
    }
    return t;
  } else {
    if ($(e))
      return e;
    if (v(e))
      return e;
  }
}
const wn = /;(?![^(]*\))/g, Nn = /:([^]+)/, bn = /\/\*[^]*?\*\//g;
function On(e) {
  const t = {};
  return e.replace(bn, "").split(wn).forEach((n) => {
    if (n) {
      const o = n.split(Nn);
      o.length > 1 && (t[o[0].trim()] = o[1].trim());
    }
  }), t;
}
function qe(e) {
  let t = "";
  if ($(e))
    t = e;
  else if (h(e))
    for (let n = 0; n < e.length; n++) {
      const o = qe(e[n]);
      o && (t += o + " ");
    }
  else if (v(e))
    for (const n in e)
      e[n] && (t += n + " ");
  return t.trim();
}
function ot(e, ...t) {
  console.warn(`[Vue warn] ${e}`, ...t);
}
let yt;
function vn(e, t = yt) {
  t && t.active && t.effects.push(e);
}
function Sn() {
  return yt;
}
const se = (e) => {
  const t = new Set(e);
  return t.w = 0, t.n = 0, t;
}, Ct = (e) => (e.w & K) > 0, It = (e) => (e.n & K) > 0, Vn = ({ deps: e }) => {
  if (e.length)
    for (let t = 0; t < e.length; t++)
      e[t].w |= K;
}, xn = (e) => {
  const { deps: t } = e;
  if (t.length) {
    let n = 0;
    for (let o = 0; o < t.length; o++) {
      const r = t[o];
      Ct(r) && !It(r) ? r.delete(e) : t[n++] = r, r.w &= ~K, r.n &= ~K;
    }
    t.length = n;
  }
}, $e = /* @__PURE__ */ new WeakMap();
let ee = 0, K = 1;
const Te = 30;
let b;
const W = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), Pe = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
class yn {
  constructor(t, n = null, o) {
    this.fn = t, this.scheduler = n, this.active = !0, this.deps = [], this.parent = void 0, vn(this, o);
  }
  run() {
    if (!this.active)
      return this.fn();
    let t = b, n = j;
    for (; t; ) {
      if (t === this)
        return;
      t = t.parent;
    }
    try {
      return this.parent = b, b = this, j = !0, K = 1 << ++ee, ee <= Te ? Vn(this) : st(this), this.fn();
    } finally {
      ee <= Te && xn(this), K = 1 << --ee, b = this.parent, j = n, this.parent = void 0, this.deferStop && this.stop();
    }
  }
  stop() {
    b === this ? this.deferStop = !0 : this.active && (st(this), this.onStop && this.onStop(), this.active = !1);
  }
}
function st(e) {
  const { deps: t } = e;
  if (t.length) {
    for (let n = 0; n < t.length; n++)
      t[n].delete(e);
    t.length = 0;
  }
}
let j = !0;
const Rt = [];
function Dt() {
  Rt.push(j), j = !1;
}
function $t() {
  const e = Rt.pop();
  j = e === void 0 ? !0 : e;
}
function S(e, t, n) {
  if (j && b) {
    let o = $e.get(e);
    o || $e.set(e, o = /* @__PURE__ */ new Map());
    let r = o.get(n);
    r || o.set(n, r = se());
    const s = process.env.NODE_ENV !== "production" ? { effect: b, target: e, type: t, key: n } : void 0;
    Me(r, s);
  }
}
function Me(e, t) {
  let n = !1;
  ee <= Te ? It(e) || (e.n |= K, n = !Ct(e)) : n = !e.has(b), n && (e.add(b), b.deps.push(e), process.env.NODE_ENV !== "production" && b.onTrack && b.onTrack(
    y(
      {
        effect: b
      },
      t
    )
  ));
}
function z(e, t, n, o, r, s) {
  const i = $e.get(e);
  if (!i)
    return;
  let c = [];
  if (t === "clear")
    c = [...i.values()];
  else if (n === "length" && h(e)) {
    const u = Number(o);
    i.forEach((f, l) => {
      (l === "length" || l >= u) && c.push(f);
    });
  } else
    switch (n !== void 0 && c.push(i.get(n)), t) {
      case "add":
        h(e) ? We(n) && c.push(i.get("length")) : (c.push(i.get(W)), X(e) && c.push(i.get(Pe)));
        break;
      case "delete":
        h(e) || (c.push(i.get(W)), X(e) && c.push(i.get(Pe)));
        break;
      case "set":
        X(e) && c.push(i.get(W));
        break;
    }
  const a = process.env.NODE_ENV !== "production" ? { target: e, type: t, key: n, newValue: o, oldValue: r, oldTarget: s } : void 0;
  if (c.length === 1)
    c[0] && (process.env.NODE_ENV !== "production" ? Y(c[0], a) : Y(c[0]));
  else {
    const u = [];
    for (const f of c)
      f && u.push(...f);
    process.env.NODE_ENV !== "production" ? Y(se(u), a) : Y(se(u));
  }
}
function Y(e, t) {
  const n = h(e) ? e : [...e];
  for (const o of n)
    o.computed && it(o, t);
  for (const o of n)
    o.computed || it(o, t);
}
function it(e, t) {
  (e !== b || e.allowRecurse) && (process.env.NODE_ENV !== "production" && e.onTrigger && e.onTrigger(y({ effect: e }, t)), e.scheduler ? e.scheduler() : e.run());
}
const Cn = /* @__PURE__ */ cn("__proto__,__v_isRef,__isVue"), Tt = new Set(
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ue)
), In = /* @__PURE__ */ Je(), Rn = /* @__PURE__ */ Je(!0), Dn = /* @__PURE__ */ Je(!0, !0), ct = /* @__PURE__ */ $n();
function $n() {
  const e = {};
  return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
    e[t] = function(...n) {
      const o = d(this);
      for (let s = 0, i = this.length; s < i; s++)
        S(o, "get", s + "");
      const r = o[t](...n);
      return r === -1 || r === !1 ? o[t](...n.map(d)) : r;
    };
  }), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
    e[t] = function(...n) {
      Dt();
      const o = d(this)[t].apply(this, n);
      return $t(), o;
    };
  }), e;
}
function Tn(e) {
  const t = d(this);
  return S(t, "has", e), t.hasOwnProperty(e);
}
function Je(e = !1, t = !1) {
  return function(o, r, s) {
    if (r === "__v_isReactive")
      return !e;
    if (r === "__v_isReadonly")
      return e;
    if (r === "__v_isShallow")
      return t;
    if (r === "__v_raw" && s === (e ? t ? jt : At : t ? Yn : Ft).get(o))
      return o;
    const i = h(o);
    if (!e) {
      if (i && m(ct, r))
        return Reflect.get(ct, r, s);
      if (r === "hasOwnProperty")
        return Tn;
    }
    const c = Reflect.get(o, r, s);
    return (Ue(r) ? Tt.has(r) : Cn(r)) || (e || S(o, "get", r), t) ? c : O(c) ? i && We(r) ? c : c.value : v(c) ? e ? zt(c) : Kt(c) : c;
  };
}
const Pn = /* @__PURE__ */ Mn();
function Mn(e = !1) {
  return function(n, o, r, s) {
    let i = n[o];
    if (H(i) && O(i) && !O(r))
      return !1;
    if (!e && (!be(r) && !H(r) && (i = d(i), r = d(r)), !h(n) && O(i) && !O(r)))
      return i.value = r, !0;
    const c = h(n) && We(o) ? Number(o) < n.length : m(n, o), a = Reflect.set(n, o, r, s);
    return n === d(s) && (c ? oe(r, i) && z(n, "set", o, r, i) : z(n, "add", o, r)), a;
  };
}
function Fn(e, t) {
  const n = m(e, t), o = e[t], r = Reflect.deleteProperty(e, t);
  return r && n && z(e, "delete", t, void 0, o), r;
}
function An(e, t) {
  const n = Reflect.has(e, t);
  return (!Ue(t) || !Tt.has(t)) && S(e, "has", t), n;
}
function jn(e) {
  return S(e, "iterate", h(e) ? "length" : W), Reflect.ownKeys(e);
}
const Kn = {
  get: In,
  set: Pn,
  deleteProperty: Fn,
  has: An,
  ownKeys: jn
}, Pt = {
  get: Rn,
  set(e, t) {
    return process.env.NODE_ENV !== "production" && ot(
      `Set operation on key "${String(t)}" failed: target is readonly.`,
      e
    ), !0;
  },
  deleteProperty(e, t) {
    return process.env.NODE_ENV !== "production" && ot(
      `Delete operation on key "${String(t)}" failed: target is readonly.`,
      e
    ), !0;
  }
}, zn = /* @__PURE__ */ y(
  {},
  Pt,
  {
    get: Dn
  }
), Ge = (e) => e, ye = (e) => Reflect.getPrototypeOf(e);
function ae(e, t, n = !1, o = !1) {
  e = e.__v_raw;
  const r = d(e), s = d(t);
  n || (t !== s && S(r, "get", t), S(r, "get", s));
  const { has: i } = ye(r), c = o ? Ge : n ? Qe : ie;
  if (i.call(r, t))
    return c(e.get(t));
  if (i.call(r, s))
    return c(e.get(s));
  e !== r && e.get(t);
}
function fe(e, t = !1) {
  const n = this.__v_raw, o = d(n), r = d(e);
  return t || (e !== r && S(o, "has", e), S(o, "has", r)), e === r ? n.has(e) : n.has(e) || n.has(r);
}
function pe(e, t = !1) {
  return e = e.__v_raw, !t && S(d(e), "iterate", W), Reflect.get(e, "size", e);
}
function lt(e) {
  e = d(e);
  const t = d(this);
  return ye(t).has.call(t, e) || (t.add(e), z(t, "add", e, e)), this;
}
function ut(e, t) {
  t = d(t);
  const n = d(this), { has: o, get: r } = ye(n);
  let s = o.call(n, e);
  s ? process.env.NODE_ENV !== "production" && Mt(n, o, e) : (e = d(e), s = o.call(n, e));
  const i = r.call(n, e);
  return n.set(e, t), s ? oe(t, i) && z(n, "set", e, t, i) : z(n, "add", e, t), this;
}
function at(e) {
  const t = d(this), { has: n, get: o } = ye(t);
  let r = n.call(t, e);
  r ? process.env.NODE_ENV !== "production" && Mt(t, n, e) : (e = d(e), r = n.call(t, e));
  const s = o ? o.call(t, e) : void 0, i = t.delete(e);
  return r && z(t, "delete", e, void 0, s), i;
}
function ft() {
  const e = d(this), t = e.size !== 0, n = process.env.NODE_ENV !== "production" ? X(e) ? new Map(e) : new Set(e) : void 0, o = e.clear();
  return t && z(e, "clear", void 0, void 0, n), o;
}
function de(e, t) {
  return function(o, r) {
    const s = this, i = s.__v_raw, c = d(i), a = t ? Ge : e ? Qe : ie;
    return !e && S(c, "iterate", W), i.forEach((u, f) => o.call(r, a(u), a(f), s));
  };
}
function he(e, t, n) {
  return function(...o) {
    const r = this.__v_raw, s = d(r), i = X(s), c = e === "entries" || e === Symbol.iterator && i, a = e === "keys" && i, u = r[e](...o), f = n ? Ge : t ? Qe : ie;
    return !t && S(
      s,
      "iterate",
      a ? Pe : W
    ), {
      // iterator protocol
      next() {
        const { value: l, done: p } = u.next();
        return p ? { value: l, done: p } : {
          value: c ? [f(l[0]), f(l[1])] : f(l),
          done: p
        };
      },
      // iterable protocol
      [Symbol.iterator]() {
        return this;
      }
    };
  };
}
function M(e) {
  return function(...t) {
    if (process.env.NODE_ENV !== "production") {
      const n = t[0] ? `on key "${t[0]}" ` : "";
      console.warn(
        `${Ne(e)} operation ${n}failed: target is readonly.`,
        d(this)
      );
    }
    return e === "delete" ? !1 : this;
  };
}
function Hn() {
  const e = {
    get(s) {
      return ae(this, s);
    },
    get size() {
      return pe(this);
    },
    has: fe,
    add: lt,
    set: ut,
    delete: at,
    clear: ft,
    forEach: de(!1, !1)
  }, t = {
    get(s) {
      return ae(this, s, !1, !0);
    },
    get size() {
      return pe(this);
    },
    has: fe,
    add: lt,
    set: ut,
    delete: at,
    clear: ft,
    forEach: de(!1, !0)
  }, n = {
    get(s) {
      return ae(this, s, !0);
    },
    get size() {
      return pe(this, !0);
    },
    has(s) {
      return fe.call(this, s, !0);
    },
    add: M("add"),
    set: M("set"),
    delete: M("delete"),
    clear: M("clear"),
    forEach: de(!0, !1)
  }, o = {
    get(s) {
      return ae(this, s, !0, !0);
    },
    get size() {
      return pe(this, !0);
    },
    has(s) {
      return fe.call(this, s, !0);
    },
    add: M("add"),
    set: M("set"),
    delete: M("delete"),
    clear: M("clear"),
    forEach: de(!0, !0)
  };
  return ["keys", "values", "entries", Symbol.iterator].forEach((s) => {
    e[s] = he(
      s,
      !1,
      !1
    ), n[s] = he(
      s,
      !0,
      !1
    ), t[s] = he(
      s,
      !1,
      !0
    ), o[s] = he(
      s,
      !0,
      !0
    );
  }), [
    e,
    n,
    t,
    o
  ];
}
const [
  Un,
  Wn,
  Bn,
  qn
] = /* @__PURE__ */ Hn();
function Le(e, t) {
  const n = t ? e ? qn : Bn : e ? Wn : Un;
  return (o, r, s) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? o : Reflect.get(
    m(n, r) && r in o ? n : o,
    r,
    s
  );
}
const Jn = {
  get: /* @__PURE__ */ Le(!1, !1)
}, Gn = {
  get: /* @__PURE__ */ Le(!0, !1)
}, Ln = {
  get: /* @__PURE__ */ Le(!0, !0)
};
function Mt(e, t, n) {
  const o = d(n);
  if (o !== n && t.call(e, o)) {
    const r = Vt(e);
    console.warn(
      `Reactive ${r} contains both the raw and reactive versions of the same object${r === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
    );
  }
}
const Ft = /* @__PURE__ */ new WeakMap(), Yn = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), jt = /* @__PURE__ */ new WeakMap();
function Qn(e) {
  switch (e) {
    case "Object":
    case "Array":
      return 1;
    case "Map":
    case "Set":
    case "WeakMap":
    case "WeakSet":
      return 2;
    default:
      return 0;
  }
}
function Xn(e) {
  return e.__v_skip || !Object.isExtensible(e) ? 0 : Qn(Vt(e));
}
function Kt(e) {
  return H(e) ? e : Ye(
    e,
    !1,
    Kn,
    Jn,
    Ft
  );
}
function zt(e) {
  return Ye(
    e,
    !0,
    Pt,
    Gn,
    At
  );
}
function _e(e) {
  return Ye(
    e,
    !0,
    zn,
    Ln,
    jt
  );
}
function Ye(e, t, n, o, r) {
  if (!v(e))
    return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(e)}`), e;
  if (e.__v_raw && !(t && e.__v_isReactive))
    return e;
  const s = r.get(e);
  if (s)
    return s;
  const i = Xn(e);
  if (i === 0)
    return e;
  const c = new Proxy(
    e,
    i === 2 ? o : n
  );
  return r.set(e, c), c;
}
function B(e) {
  return H(e) ? B(e.__v_raw) : !!(e && e.__v_isReactive);
}
function H(e) {
  return !!(e && e.__v_isReadonly);
}
function be(e) {
  return !!(e && e.__v_isShallow);
}
function Fe(e) {
  return B(e) || H(e);
}
function d(e) {
  const t = e && e.__v_raw;
  return t ? d(t) : e;
}
function Zn(e) {
  return En(e, "__v_skip", !0), e;
}
const ie = (e) => v(e) ? Kt(e) : e, Qe = (e) => v(e) ? zt(e) : e;
function kn(e) {
  j && b && (e = d(e), process.env.NODE_ENV !== "production" ? Me(e.dep || (e.dep = se()), {
    target: e,
    type: "get",
    key: "value"
  }) : Me(e.dep || (e.dep = se())));
}
function er(e, t) {
  e = d(e);
  const n = e.dep;
  n && (process.env.NODE_ENV !== "production" ? Y(n, {
    target: e,
    type: "set",
    key: "value",
    newValue: t
  }) : Y(n));
}
function O(e) {
  return !!(e && e.__v_isRef === !0);
}
function tr(e) {
  return nr(e, !1);
}
function nr(e, t) {
  return O(e) ? e : new rr(e, t);
}
class rr {
  constructor(t, n) {
    this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = !0, this._rawValue = n ? t : d(t), this._value = n ? t : ie(t);
  }
  get value() {
    return kn(this), this._value;
  }
  set value(t) {
    const n = this.__v_isShallow || be(t) || H(t);
    t = n ? t : d(t), oe(t, this._rawValue) && (this._rawValue = t, this._value = n ? t : ie(t), er(this, t));
  }
}
function or(e) {
  return O(e) ? e.value : e;
}
const sr = {
  get: (e, t, n) => or(Reflect.get(e, t, n)),
  set: (e, t, n, o) => {
    const r = e[t];
    return O(r) && !O(n) ? (r.value = n, !0) : Reflect.set(e, t, n, o);
  }
};
function ir(e) {
  return B(e) ? e : new Proxy(e, sr);
}
const q = [];
function cr(e) {
  q.push(e);
}
function lr() {
  q.pop();
}
function E(e, ...t) {
  if (process.env.NODE_ENV === "production")
    return;
  Dt();
  const n = q.length ? q[q.length - 1].component : null, o = n && n.appContext.config.warnHandler, r = ur();
  if (o)
    J(
      o,
      n,
      11,
      [
        e + t.join(""),
        n && n.proxy,
        r.map(
          ({ vnode: s }) => `at <${nn(n, s.type)}>`
        ).join(`
`),
        r
      ]
    );
  else {
    const s = [`[Vue warn]: ${e}`, ...t];
    r.length && s.push(`
`, ...ar(r)), console.warn(...s);
  }
  $t();
}
function ur() {
  let e = q[q.length - 1];
  if (!e)
    return [];
  const t = [];
  for (; e; ) {
    const n = t[0];
    n && n.vnode === e ? n.recurseCount++ : t.push({
      vnode: e,
      recurseCount: 0
    });
    const o = e.component && e.component.parent;
    e = o && o.vnode;
  }
  return t;
}
function ar(e) {
  const t = [];
  return e.forEach((n, o) => {
    t.push(...o === 0 ? [] : [`
`], ...fr(n));
  }), t;
}
function fr({ vnode: e, recurseCount: t }) {
  const n = t > 0 ? `... (${t} recursive calls)` : "", o = e.component ? e.component.parent == null : !1, r = ` at <${nn(
    e.component,
    e.type,
    o
  )}`, s = ">" + n;
  return e.props ? [r, ...pr(e.props), s] : [r + s];
}
function pr(e) {
  const t = [], n = Object.keys(e);
  return n.slice(0, 3).forEach((o) => {
    t.push(...Ht(o, e[o]));
  }), n.length > 3 && t.push(" ..."), t;
}
function Ht(e, t, n) {
  return $(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : O(t) ? (t = Ht(e, d(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : w(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = d(t), n ? t : [`${e}=`, t]);
}
const Ut = {
  sp: "serverPrefetch hook",
  bc: "beforeCreate hook",
  c: "created hook",
  bm: "beforeMount hook",
  m: "mounted hook",
  bu: "beforeUpdate hook",
  u: "updated",
  bum: "beforeUnmount hook",
  um: "unmounted hook",
  a: "activated hook",
  da: "deactivated hook",
  ec: "errorCaptured hook",
  rtc: "renderTracked hook",
  rtg: "renderTriggered hook",
  0: "setup function",
  1: "render function",
  2: "watcher getter",
  3: "watcher callback",
  4: "watcher cleanup function",
  5: "native event handler",
  6: "component event handler",
  7: "vnode hook",
  8: "directive hook",
  9: "transition hook",
  10: "app errorHandler",
  11: "app warnHandler",
  12: "ref function",
  13: "async component loader",
  14: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"
};
function J(e, t, n, o) {
  let r;
  try {
    r = o ? e(...o) : e();
  } catch (s) {
    Wt(s, t, n);
  }
  return r;
}
function Ae(e, t, n, o) {
  if (w(e)) {
    const s = J(e, t, n, o);
    return s && hn(s) && s.catch((i) => {
      Wt(i, t, n);
    }), s;
  }
  const r = [];
  for (let s = 0; s < e.length; s++)
    r.push(Ae(e[s], t, n, o));
  return r;
}
function Wt(e, t, n, o = !0) {
  const r = t ? t.vnode : null;
  if (t) {
    let s = t.parent;
    const i = t.proxy, c = process.env.NODE_ENV !== "production" ? Ut[n] : n;
    for (; s; ) {
      const u = s.ec;
      if (u) {
        for (let f = 0; f < u.length; f++)
          if (u[f](e, i, c) === !1)
            return;
      }
      s = s.parent;
    }
    const a = t.appContext.config.errorHandler;
    if (a) {
      J(
        a,
        null,
        10,
        [e, i, c]
      );
      return;
    }
  }
  dr(e, n, r, o);
}
function dr(e, t, n, o = !0) {
  if (process.env.NODE_ENV !== "production") {
    const r = Ut[t];
    if (n && cr(n), E(`Unhandled error${r ? ` during execution of ${r}` : ""}`), n && lr(), o)
      throw e;
    console.error(e);
  } else
    console.error(e);
}
let Oe = !1, je = !1;
const R = [];
let A = 0;
const Z = [];
let T = null, F = 0;
const Bt = /* @__PURE__ */ Promise.resolve();
let Xe = null;
const hr = 100;
function _r(e) {
  const t = Xe || Bt;
  return e ? t.then(this ? e.bind(this) : e) : t;
}
function gr(e) {
  let t = A + 1, n = R.length;
  for (; t < n; ) {
    const o = t + n >>> 1;
    ce(R[o]) < e ? t = o + 1 : n = o;
  }
  return t;
}
function Ze(e) {
  (!R.length || !R.includes(
    e,
    Oe && e.allowRecurse ? A + 1 : A
  )) && (e.id == null ? R.push(e) : R.splice(gr(e.id), 0, e), qt());
}
function qt() {
  !Oe && !je && (je = !0, Xe = Bt.then(Gt));
}
function Jt(e) {
  h(e) ? Z.push(...e) : (!T || !T.includes(
    e,
    e.allowRecurse ? F + 1 : F
  )) && Z.push(e), qt();
}
function mr(e) {
  if (Z.length) {
    const t = [...new Set(Z)];
    if (Z.length = 0, T) {
      T.push(...t);
      return;
    }
    for (T = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), T.sort((n, o) => ce(n) - ce(o)), F = 0; F < T.length; F++)
      process.env.NODE_ENV !== "production" && Lt(e, T[F]) || T[F]();
    T = null, F = 0;
  }
}
const ce = (e) => e.id == null ? 1 / 0 : e.id, Er = (e, t) => {
  const n = ce(e) - ce(t);
  if (n === 0) {
    if (e.pre && !t.pre)
      return -1;
    if (t.pre && !e.pre)
      return 1;
  }
  return n;
};
function Gt(e) {
  je = !1, Oe = !0, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), R.sort(Er);
  const t = process.env.NODE_ENV !== "production" ? (n) => Lt(e, n) : St;
  try {
    for (A = 0; A < R.length; A++) {
      const n = R[A];
      if (n && n.active !== !1) {
        if (process.env.NODE_ENV !== "production" && t(n))
          continue;
        J(n, null, 14);
      }
    }
  } finally {
    A = 0, R.length = 0, mr(e), Oe = !1, Xe = null, (R.length || Z.length) && Gt(e);
  }
}
function Lt(e, t) {
  if (!e.has(t))
    e.set(t, 1);
  else {
    const n = e.get(t);
    if (n > hr) {
      const o = t.ownerInstance, r = o && nt(o.type);
      return E(
        `Maximum recursive updates exceeded${r ? ` in component <${r}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`
      ), !0;
    } else
      e.set(t, n + 1);
  }
}
const k = /* @__PURE__ */ new Set();
process.env.NODE_ENV !== "production" && (De().__VUE_HMR_RUNTIME__ = {
  createRecord: Ce(wr),
  rerender: Ce(Nr),
  reload: Ce(br)
});
const ve = /* @__PURE__ */ new Map();
function wr(e, t) {
  return ve.has(e) ? !1 : (ve.set(e, {
    initialDef: ne(t),
    instances: /* @__PURE__ */ new Set()
  }), !0);
}
function ne(e) {
  return rn(e) ? e.__vccOpts : e;
}
function Nr(e, t) {
  const n = ve.get(e);
  n && (n.initialDef.render = t, [...n.instances].forEach((o) => {
    t && (o.render = t, ne(o.type).render = t), o.renderCache = [], o.update();
  }));
}
function br(e, t) {
  const n = ve.get(e);
  if (!n)
    return;
  t = ne(t), pt(n.initialDef, t);
  const o = [...n.instances];
  for (const r of o) {
    const s = ne(r.type);
    k.has(s) || (s !== n.initialDef && pt(s, t), k.add(s)), r.appContext.propsCache.delete(r.type), r.appContext.emitsCache.delete(r.type), r.appContext.optionsCache.delete(r.type), r.ceReload ? (k.add(s), r.ceReload(t.styles), k.delete(s)) : r.parent ? Ze(r.parent.update) : r.appContext.reload ? r.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
      "[HMR] Root or manually mounted instance modified. Full reload required."
    );
  }
  Jt(() => {
    for (const r of o)
      k.delete(
        ne(r.type)
      );
  });
}
function pt(e, t) {
  y(e, t);
  for (const n in e)
    n !== "__file" && !(n in t) && delete e[n];
}
function Ce(e) {
  return (t, n) => {
    try {
      return e(t, n);
    } catch (o) {
      console.error(o), console.warn(
        "[HMR] Something went wrong during Vue component hot-reload. Full reload required."
      );
    }
  };
}
function Or(e, ...t) {
}
const vr = /* @__PURE__ */ Sr(
  "component:updated"
  /* COMPONENT_UPDATED */
);
function Sr(e) {
  return (t) => {
    Or(
      e,
      t.appContext.app,
      t.uid,
      t.parent ? t.parent.uid : void 0,
      t
    );
  };
}
let I = null, Yt = null;
function dt(e) {
  const t = I;
  return I = e, Yt = e && e.type.__scopeId || null, t;
}
function Vr(e, t = I, n) {
  if (!t || e._n)
    return e;
  const o = (...r) => {
    o._d && bt(-1);
    const s = dt(t);
    let i;
    try {
      i = e(...r);
    } finally {
      dt(s), o._d && bt(1);
    }
    return process.env.NODE_ENV !== "production" && vr(t), i;
  };
  return o._n = !0, o._c = !0, o._d = !0, o;
}
const xr = (e) => e.__isSuspense;
function yr(e, t) {
  t && t.pendingBranch ? h(e) ? t.effects.push(...e) : t.effects.push(e) : Jt(e);
}
const ge = {};
function Cr(e, t, n) {
  return process.env.NODE_ENV !== "production" && !w(t) && E(
    "`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
  ), Qt(e, t, n);
}
function Qt(e, t, { immediate: n, deep: o, flush: r, onTrack: s, onTrigger: i } = P) {
  var c;
  process.env.NODE_ENV !== "production" && !t && (n !== void 0 && E(
    'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
  ), o !== void 0 && E(
    'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
  ));
  const a = (g) => {
    E(
      "Invalid watch source: ",
      g,
      "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
    );
  }, u = Sn() === ((c = G) == null ? void 0 : c.scope) ? G : null;
  let f, l = !1, p = !1;
  if (O(e) ? (f = () => e.value, l = be(e)) : B(e) ? (f = () => e, o = !0) : h(e) ? (p = !0, l = e.some((g) => B(g) || be(g)), f = () => e.map((g) => {
    if (O(g))
      return g.value;
    if (B(g))
      return Q(g);
    if (w(g))
      return J(g, u, 2);
    process.env.NODE_ENV !== "production" && a(g);
  })) : w(e) ? t ? f = () => J(e, u, 2) : f = () => {
    if (!(u && u.isUnmounted))
      return _ && _(), Ae(
        e,
        u,
        3,
        [V]
      );
  } : (f = St, process.env.NODE_ENV !== "production" && a(e)), t && o) {
    const g = f;
    f = () => Q(g());
  }
  let _, V = (g) => {
    _ = C.onStop = () => {
      J(g, u, 4);
    };
  }, x = p ? new Array(e.length).fill(ge) : ge;
  const U = () => {
    if (C.active)
      if (t) {
        const g = C.run();
        (o || l || (p ? g.some(
          (on, sn) => oe(on, x[sn])
        ) : oe(g, x))) && (_ && _(), Ae(t, u, 3, [
          g,
          // pass undefined as the old value when it's changed for the first time
          x === ge ? void 0 : p && x[0] === ge ? [] : x,
          V
        ]), x = g);
      } else
        C.run();
  };
  U.allowRecurse = !!t;
  let ue;
  r === "sync" ? ue = U : r === "post" ? ue = () => Nt(U, u && u.suspense) : (U.pre = !0, u && (U.id = u.uid), ue = () => Ze(U));
  const C = new yn(f, ue);
  return process.env.NODE_ENV !== "production" && (C.onTrack = s, C.onTrigger = i), t ? n ? U() : x = C.run() : r === "post" ? Nt(
    C.run.bind(C),
    u && u.suspense
  ) : C.run(), () => {
    C.stop(), u && u.scope && fn(u.scope.effects, C);
  };
}
function Ir(e, t, n) {
  const o = this.proxy, r = $(e) ? e.includes(".") ? Rr(o, e) : () => o[e] : e.bind(o, o);
  let s;
  w(t) ? s = t : (s = t.handler, n = t);
  const i = G;
  vt(this);
  const c = Qt(r, s.bind(o), n);
  return i ? vt(i) : Zr(), c;
}
function Rr(e, t) {
  const n = t.split(".");
  return () => {
    let o = e;
    for (let r = 0; r < n.length && o; r++)
      o = o[n[r]];
    return o;
  };
}
function Q(e, t) {
  if (!v(e) || e.__v_skip || (t = t || /* @__PURE__ */ new Set(), t.has(e)))
    return e;
  if (t.add(e), O(e))
    Q(e.value, t);
  else if (h(e))
    for (let n = 0; n < e.length; n++)
      Q(e[n], t);
  else if (dn(e) || X(e))
    e.forEach((n) => {
      Q(n, t);
    });
  else if (gn(e))
    for (const n in e)
      Q(e[n], t);
  return e;
}
function Dr(e, t) {
  return w(e) ? (
    // #8326: extend call and options.name access are considered side-effects
    // by Rollup, so we have to wrap it in a pure-annotated IIFE.
    /* @__PURE__ */ (() => y({ name: e.name }, t, { setup: e }))()
  ) : e;
}
const Ke = "components";
function ht(e, t) {
  return Tr(Ke, e, !0, t) || e;
}
const $r = Symbol.for("v-ndc");
function Tr(e, t, n = !0, o = !1) {
  const r = I || G;
  if (r) {
    const s = r.type;
    if (e === Ke) {
      const c = nt(
        s,
        !1
        /* do not include inferred name to avoid breaking existing code */
      );
      if (c && (c === t || c === we(t) || c === Ne(we(t))))
        return s;
    }
    const i = (
      // local registration
      // check instance[type] first which is resolved for options API
      _t(r[e] || s[e], t) || // global registration
      _t(r.appContext[e], t)
    );
    if (!i && o)
      return s;
    if (process.env.NODE_ENV !== "production" && n && !i) {
      const c = e === Ke ? `
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : "";
      E(`Failed to resolve ${e.slice(0, -1)}: ${t}${c}`);
    }
    return i;
  } else
    process.env.NODE_ENV !== "production" && E(
      `resolve${Ne(e.slice(0, -1))} can only be used in render() or setup().`
    );
}
function _t(e, t) {
  return e && (e[t] || e[we(t)] || e[Ne(we(t))]);
}
const ze = (e) => e ? kr(e) ? eo(e) || e.proxy : ze(e.parent) : null, re = (
  // Move PURE marker to new line to workaround compiler discarding it
  // due to type annotation
  /* @__PURE__ */ y(/* @__PURE__ */ Object.create(null), {
    $: (e) => e,
    $el: (e) => e.vnode.el,
    $data: (e) => e.data,
    $props: (e) => process.env.NODE_ENV !== "production" ? _e(e.props) : e.props,
    $attrs: (e) => process.env.NODE_ENV !== "production" ? _e(e.attrs) : e.attrs,
    $slots: (e) => process.env.NODE_ENV !== "production" ? _e(e.slots) : e.slots,
    $refs: (e) => process.env.NODE_ENV !== "production" ? _e(e.refs) : e.refs,
    $parent: (e) => ze(e.parent),
    $root: (e) => ze(e.root),
    $emit: (e) => e.emit,
    $options: (e) => Fr(e),
    $forceUpdate: (e) => e.f || (e.f = () => Ze(e.update)),
    $nextTick: (e) => e.n || (e.n = _r.bind(e.proxy)),
    $watch: (e) => Ir.bind(e)
  })
), Pr = (e) => e === "_" || e === "$", Ie = (e, t) => e !== P && !e.__isScriptSetup && m(e, t), Mr = {
  get({ _: e }, t) {
    const { ctx: n, setupState: o, data: r, props: s, accessCache: i, type: c, appContext: a } = e;
    if (process.env.NODE_ENV !== "production" && t === "__isVue")
      return !0;
    let u;
    if (t[0] !== "$") {
      const _ = i[t];
      if (_ !== void 0)
        switch (_) {
          case 1:
            return o[t];
          case 2:
            return r[t];
          case 4:
            return n[t];
          case 3:
            return s[t];
        }
      else {
        if (Ie(o, t))
          return i[t] = 1, o[t];
        if (r !== P && m(r, t))
          return i[t] = 2, r[t];
        if (
          // only cache other properties when instance has declared (thus stable)
          // props
          (u = e.propsOptions[0]) && m(u, t)
        )
          return i[t] = 3, s[t];
        if (n !== P && m(n, t))
          return i[t] = 4, n[t];
        i[t] = 0;
      }
    }
    const f = re[t];
    let l, p;
    if (f)
      return t === "$attrs" ? (S(e, "get", t), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && S(e, "get", t), f(e);
    if (
      // css module (injected by vue-loader)
      (l = c.__cssModules) && (l = l[t])
    )
      return l;
    if (n !== P && m(n, t))
      return i[t] = 4, n[t];
    if (
      // global properties
      p = a.config.globalProperties, m(p, t)
    )
      return p[t];
    process.env.NODE_ENV !== "production" && I && (!$(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
    // to infinite warning loop
    t.indexOf("__v") !== 0) && (r !== P && Pr(t[0]) && m(r, t) ? E(
      `Property ${JSON.stringify(
        t
      )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
    ) : e === I && E(
      `Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`
    ));
  },
  set({ _: e }, t, n) {
    const { data: o, setupState: r, ctx: s } = e;
    return Ie(r, t) ? (r[t] = n, !0) : process.env.NODE_ENV !== "production" && r.__isScriptSetup && m(r, t) ? (E(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : o !== P && m(o, t) ? (o[t] = n, !0) : m(e.props, t) ? (process.env.NODE_ENV !== "production" && E(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && E(
      `Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
    ), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, {
      enumerable: !0,
      configurable: !0,
      value: n
    }) : s[t] = n, !0);
  },
  has({
    _: { data: e, setupState: t, accessCache: n, ctx: o, appContext: r, propsOptions: s }
  }, i) {
    let c;
    return !!n[i] || e !== P && m(e, i) || Ie(t, i) || (c = s[0]) && m(c, i) || m(o, i) || m(re, i) || m(r.config.globalProperties, i);
  },
  defineProperty(e, t, n) {
    return n.get != null ? e._.accessCache[t] = 0 : m(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
  }
};
process.env.NODE_ENV !== "production" && (Mr.ownKeys = (e) => (E(
  "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
), Reflect.ownKeys(e)));
function gt(e) {
  return h(e) ? e.reduce(
    (t, n) => (t[n] = null, t),
    {}
  ) : e;
}
function Fr(e) {
  const t = e.type, { mixins: n, extends: o } = t, {
    mixins: r,
    optionsCache: s,
    config: { optionMergeStrategies: i }
  } = e.appContext, c = s.get(t);
  let a;
  return c ? a = c : !r.length && !n && !o ? a = t : (a = {}, r.length && r.forEach(
    (u) => Se(a, u, i, !0)
  ), Se(a, t, i)), v(t) && s.set(t, a), a;
}
function Se(e, t, n, o = !1) {
  const { mixins: r, extends: s } = t;
  s && Se(e, s, n, !0), r && r.forEach(
    (i) => Se(e, i, n, !0)
  );
  for (const i in t)
    if (o && i === "expose")
      process.env.NODE_ENV !== "production" && E(
        '"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
      );
    else {
      const c = Ar[i] || n && n[i];
      e[i] = c ? c(e[i], t[i]) : t[i];
    }
  return e;
}
const Ar = {
  data: mt,
  props: wt,
  emits: wt,
  // objects
  methods: te,
  computed: te,
  // lifecycle
  beforeCreate: N,
  created: N,
  beforeMount: N,
  mounted: N,
  beforeUpdate: N,
  updated: N,
  beforeDestroy: N,
  beforeUnmount: N,
  destroyed: N,
  unmounted: N,
  activated: N,
  deactivated: N,
  errorCaptured: N,
  serverPrefetch: N,
  // assets
  components: te,
  directives: te,
  // watch
  watch: Kr,
  // provide / inject
  provide: mt,
  inject: jr
};
function mt(e, t) {
  return t ? e ? function() {
    return y(
      w(e) ? e.call(this, this) : e,
      w(t) ? t.call(this, this) : t
    );
  } : t : e;
}
function jr(e, t) {
  return te(Et(e), Et(t));
}
function Et(e) {
  if (h(e)) {
    const t = {};
    for (let n = 0; n < e.length; n++)
      t[e[n]] = e[n];
    return t;
  }
  return e;
}
function N(e, t) {
  return e ? [...new Set([].concat(e, t))] : t;
}
function te(e, t) {
  return e ? y(/* @__PURE__ */ Object.create(null), e, t) : t;
}
function wt(e, t) {
  return e ? h(e) && h(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : y(
    /* @__PURE__ */ Object.create(null),
    gt(e),
    gt(t ?? {})
  ) : t;
}
function Kr(e, t) {
  if (!e)
    return t;
  if (!t)
    return e;
  const n = y(/* @__PURE__ */ Object.create(null), e);
  for (const o in t)
    n[o] = N(e[o], t[o]);
  return n;
}
const Nt = yr, zr = (e) => e.__isTeleport, Xt = Symbol.for("v-fgt"), Hr = Symbol.for("v-txt"), Ur = Symbol.for("v-cmt"), me = [];
let D = null;
function Wr(e = !1) {
  me.push(D = e ? null : []);
}
function Br() {
  me.pop(), D = me[me.length - 1] || null;
}
let le = 1;
function bt(e) {
  le += e;
}
function qr(e) {
  return e.dynamicChildren = le > 0 ? D || ln : null, Br(), le > 0 && D && D.push(e), e;
}
function Jr(e, t, n, o, r) {
  return qr(
    ke(
      e,
      t,
      n,
      o,
      r,
      !0
      /* isBlock: prevent a block from tracking itself */
    )
  );
}
function Gr(e) {
  return e ? e.__v_isVNode === !0 : !1;
}
const Lr = (...e) => en(
  ...e
), Zt = "__vInternal", kt = ({ key: e }) => e ?? null, Ee = ({
  ref: e,
  ref_key: t,
  ref_for: n
}) => (typeof e == "number" && (e = "" + e), e != null ? $(e) || O(e) || w(e) ? { i: I, r: e, k: t, f: !!n } : e : null);
function Yr(e, t = null, n = null, o = 0, r = null, s = e === Xt ? 0 : 1, i = !1, c = !1) {
  const a = {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e,
    props: t,
    key: t && kt(t),
    ref: t && Ee(t),
    scopeId: Yt,
    slotScopeIds: null,
    children: n,
    component: null,
    suspense: null,
    ssContent: null,
    ssFallback: null,
    dirs: null,
    transition: null,
    el: null,
    anchor: null,
    target: null,
    targetAnchor: null,
    staticCount: 0,
    shapeFlag: s,
    patchFlag: o,
    dynamicProps: r,
    dynamicChildren: null,
    appContext: null,
    ctx: I
  };
  return c ? (et(a, n), s & 128 && e.normalize(a)) : n && (a.shapeFlag |= $(n) ? 8 : 16), process.env.NODE_ENV !== "production" && a.key !== a.key && E("VNode created with invalid key (NaN). VNode type:", a.type), le > 0 && // avoid a block node from tracking itself
  !i && // has current parent block
  D && // presence of a patch flag indicates this node needs patching on updates.
  // component nodes also should always be patched, because even if the
  // component doesn't need to update, it needs to persist the instance on to
  // the next vnode so that it can be properly unmounted later.
  (a.patchFlag > 0 || s & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
  // vnode should not be considered dynamic due to handler caching.
  a.patchFlag !== 32 && D.push(a), a;
}
const ke = process.env.NODE_ENV !== "production" ? Lr : en;
function en(e, t = null, n = null, o = 0, r = null, s = !1) {
  if ((!e || e === $r) && (process.env.NODE_ENV !== "production" && !e && E(`Invalid vnode type when creating vnode: ${e}.`), e = Ur), Gr(e)) {
    const c = Ve(
      e,
      t,
      !0
      /* mergeRef: true */
    );
    return n && et(c, n), le > 0 && !s && D && (c.shapeFlag & 6 ? D[D.indexOf(e)] = c : D.push(c)), c.patchFlag |= -2, c;
  }
  if (rn(e) && (e = e.__vccOpts), t) {
    t = Qr(t);
    let { class: c, style: a } = t;
    c && !$(c) && (t.class = qe(c)), v(a) && (Fe(a) && !h(a) && (a = y({}, a)), t.style = Be(a));
  }
  const i = $(e) ? 1 : xr(e) ? 128 : zr(e) ? 64 : v(e) ? 4 : w(e) ? 2 : 0;
  return process.env.NODE_ENV !== "production" && i & 4 && Fe(e) && (e = d(e), E(
    "Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
    `
Component that was made reactive: `,
    e
  )), Yr(
    e,
    t,
    n,
    o,
    r,
    i,
    s,
    !0
  );
}
function Qr(e) {
  return e ? Fe(e) || Zt in e ? y({}, e) : e : null;
}
function Ve(e, t, n = !1) {
  const { props: o, ref: r, patchFlag: s, children: i } = e, c = t ? He(o || {}, t) : o;
  return {
    __v_isVNode: !0,
    __v_skip: !0,
    type: e.type,
    props: c,
    key: c && kt(c),
    ref: t && t.ref ? (
      // #2078 in the case of <component :is="vnode" ref="extra"/>
      // if the vnode itself already has a ref, cloneVNode will need to merge
      // the refs so the single vnode can be set on multiple refs
      n && r ? h(r) ? r.concat(Ee(t)) : [r, Ee(t)] : Ee(t)
    ) : r,
    scopeId: e.scopeId,
    slotScopeIds: e.slotScopeIds,
    children: process.env.NODE_ENV !== "production" && s === -1 && h(i) ? i.map(tn) : i,
    target: e.target,
    targetAnchor: e.targetAnchor,
    staticCount: e.staticCount,
    shapeFlag: e.shapeFlag,
    // if the vnode is cloned with extra props, we can no longer assume its
    // existing patch flag to be reliable and need to add the FULL_PROPS flag.
    // note: preserve flag for fragments since they use the flag for children
    // fast paths only.
    patchFlag: t && e.type !== Xt ? s === -1 ? 16 : s | 16 : s,
    dynamicProps: e.dynamicProps,
    dynamicChildren: e.dynamicChildren,
    appContext: e.appContext,
    dirs: e.dirs,
    transition: e.transition,
    // These should technically only be non-null on mounted VNodes. However,
    // they *should* be copied for kept-alive vnodes. So we just always copy
    // them since them being non-null during a mount doesn't affect the logic as
    // they will simply be overwritten.
    component: e.component,
    suspense: e.suspense,
    ssContent: e.ssContent && Ve(e.ssContent),
    ssFallback: e.ssFallback && Ve(e.ssFallback),
    el: e.el,
    anchor: e.anchor,
    ctx: e.ctx,
    ce: e.ce
  };
}
function tn(e) {
  const t = Ve(e);
  return h(e.children) && (t.children = e.children.map(tn)), t;
}
function Xr(e = " ", t = 0) {
  return ke(Hr, null, e, t);
}
function et(e, t) {
  let n = 0;
  const { shapeFlag: o } = e;
  if (t == null)
    t = null;
  else if (h(t))
    n = 16;
  else if (typeof t == "object")
    if (o & 65) {
      const r = t.default;
      r && (r._c && (r._d = !1), et(e, r()), r._c && (r._d = !0));
      return;
    } else {
      n = 32;
      const r = t._;
      !r && !(Zt in t) ? t._ctx = I : r === 3 && I && (I.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
    }
  else
    w(t) ? (t = { default: t, _ctx: I }, n = 32) : (t = String(t), o & 64 ? (n = 16, t = [Xr(t)]) : n = 8);
  e.children = t, e.shapeFlag |= n;
}
function He(...e) {
  const t = {};
  for (let n = 0; n < e.length; n++) {
    const o = e[n];
    for (const r in o)
      if (r === "class")
        t.class !== o.class && (t.class = qe([t.class, o.class]));
      else if (r === "style")
        t.style = Be([t.style, o.style]);
      else if (an(r)) {
        const s = t[r], i = o[r];
        i && s !== i && !(h(s) && s.includes(i)) && (t[r] = s ? [].concat(s, i) : i);
      } else
        r !== "" && (t[r] = o[r]);
  }
  return t;
}
let G = null, tt, L, Ot = "__VUE_INSTANCE_SETTERS__";
(L = De()[Ot]) || (L = De()[Ot] = []), L.push((e) => G = e), tt = (e) => {
  L.length > 1 ? L.forEach((t) => t(e)) : L[0](e);
};
const vt = (e) => {
  tt(e), e.scope.on();
}, Zr = () => {
  G && G.scope.off(), tt(null);
};
function kr(e) {
  return e.vnode.shapeFlag & 4;
}
function eo(e) {
  if (e.exposed)
    return e.exposeProxy || (e.exposeProxy = new Proxy(ir(Zn(e.exposed)), {
      get(t, n) {
        if (n in t)
          return t[n];
        if (n in re)
          return re[n](e);
      },
      has(t, n) {
        return n in t || n in re;
      }
    }));
}
const to = /(?:^|[-_])(\w)/g, no = (e) => e.replace(to, (t) => t.toUpperCase()).replace(/[-_]/g, "");
function nt(e, t = !0) {
  return w(e) ? e.displayName || e.name : e.name || t && e.__name;
}
function nn(e, t, n = !1) {
  let o = nt(t);
  if (!o && t.__file) {
    const r = t.__file.match(/([^/\\]+)\.\w+$/);
    r && (o = r[1]);
  }
  if (!o && e && e.parent) {
    const r = (s) => {
      for (const i in s)
        if (s[i] === t)
          return i;
    };
    o = r(
      e.components || e.parent.type.components
    ) || r(e.appContext.components);
  }
  return o ? no(o) : n ? "App" : "Anonymous";
}
function rn(e) {
  return w(e) && "__vccOpts" in e;
}
function Re(e) {
  return !!(e && e.__v_isShallow);
}
function ro() {
  if (process.env.NODE_ENV === "production" || typeof window > "u")
    return;
  const e = { style: "color:#3ba776" }, t = { style: "color:#0b1bc9" }, n = { style: "color:#b62e24" }, o = { style: "color:#9d288c" }, r = {
    header(l) {
      return v(l) ? l.__isVue ? ["div", e, "VueInstance"] : O(l) ? [
        "div",
        {},
        ["span", e, f(l)],
        "<",
        c(l.value),
        ">"
      ] : B(l) ? [
        "div",
        {},
        ["span", e, Re(l) ? "ShallowReactive" : "Reactive"],
        "<",
        c(l),
        `>${H(l) ? " (readonly)" : ""}`
      ] : H(l) ? [
        "div",
        {},
        ["span", e, Re(l) ? "ShallowReadonly" : "Readonly"],
        "<",
        c(l),
        ">"
      ] : null : null;
    },
    hasBody(l) {
      return l && l.__isVue;
    },
    body(l) {
      if (l && l.__isVue)
        return [
          "div",
          {},
          ...s(l.$)
        ];
    }
  };
  function s(l) {
    const p = [];
    l.type.props && l.props && p.push(i("props", d(l.props))), l.setupState !== P && p.push(i("setup", l.setupState)), l.data !== P && p.push(i("data", d(l.data)));
    const _ = a(l, "computed");
    _ && p.push(i("computed", _));
    const V = a(l, "inject");
    return V && p.push(i("injected", V)), p.push([
      "div",
      {},
      [
        "span",
        {
          style: o.style + ";opacity:0.66"
        },
        "$ (internal): "
      ],
      ["object", { object: l }]
    ]), p;
  }
  function i(l, p) {
    return p = y({}, p), Object.keys(p).length ? [
      "div",
      { style: "line-height:1.25em;margin-bottom:0.6em" },
      [
        "div",
        {
          style: "color:#476582"
        },
        l
      ],
      [
        "div",
        {
          style: "padding-left:1.25em"
        },
        ...Object.keys(p).map((_) => [
          "div",
          {},
          ["span", o, _ + ": "],
          c(p[_], !1)
        ])
      ]
    ] : ["span", {}];
  }
  function c(l, p = !0) {
    return typeof l == "number" ? ["span", t, l] : typeof l == "string" ? ["span", n, JSON.stringify(l)] : typeof l == "boolean" ? ["span", o, l] : v(l) ? ["object", { object: p ? d(l) : l }] : ["span", n, String(l)];
  }
  function a(l, p) {
    const _ = l.type;
    if (w(_))
      return;
    const V = {};
    for (const x in l.ctx)
      u(_, x, p) && (V[x] = l.ctx[x]);
    return V;
  }
  function u(l, p, _) {
    const V = l[_];
    if (h(V) && V.includes(p) || v(V) && p in V || l.extends && u(l.extends, p, _) || l.mixins && l.mixins.some((x) => u(x, p, _)))
      return !0;
  }
  function f(l) {
    return Re(l) ? "ShallowRef" : l.effect ? "ComputedRef" : "Ref";
  }
  window.devtoolsFormatters ? window.devtoolsFormatters.push(r) : window.devtoolsFormatters = [r];
}
function oo() {
  ro();
}
process.env.NODE_ENV !== "production" && oo();
const so = /* @__PURE__ */ Dr({
  __name: "index",
  props: {
    name: {
      type: String,
      default: "",
      require: !0
    },
    modelValue: {
      type: String,
      default: "",
      require: !0
    },
    label: {
      type: String,
      default: ""
    },
    placeholder: {
      type: String,
      default: "请输入内容"
    },
    formAttrs: {
      type: Object,
      default: () => ({})
    },
    readonly: {
      type: Boolean,
      default: !1
    },
    disabled: {
      type: Boolean,
      default: !1
    },
    rules: {
      type: Array,
      default: []
    },
    help: {
      type: String,
      default: ""
    }
  },
  emits: ["update:modelValue", "blur", "change", "focus", "keydown", "keypress", "keyup"],
  setup(e, { emit: t }) {
    const n = e, o = tr(n.modelValue);
    Cr(() => n.modelValue, (s) => {
      o.value = s;
    });
    function r(s, i) {
      t("update:modelValue", s), t("change", { value: s, context: i });
    }
    return (s, i) => {
      const c = ht("t-textarea"), a = ht("t-form-item");
      return Wr(), Jr(a, He({
        help: n.help
      }, n.formAttrs, {
        rules: n.rules,
        name: e.name,
        label: e.label
      }), {
        default: Vr(() => [
          ke(c, He({
            onChange: r,
            onBlur: i[0] || (i[0] = (u, f) => t("blur", { value: u, context: f })),
            onFocus: i[1] || (i[1] = (u, f) => t("focus", { value: u, context: f })),
            onKeydown: i[2] || (i[2] = (u, f) => t("keydown", { value: u, context: f })),
            onKeypress: i[3] || (i[3] = (u, f) => t("keypress", { value: u, context: f })),
            onKeyup: i[4] || (i[4] = (u, f) => t("keyup", { value: u, context: f })),
            disabled: n.disabled,
            readonly: n.readonly
          }, s.$attrs, {
            modelValue: o.value,
            "onUpdate:modelValue": i[5] || (i[5] = (u) => o.value = u),
            placeholder: "请输入内容"
          }), null, 16, ["disabled", "readonly", "modelValue"])
        ]),
        _: 1
      }, 16, ["help", "rules", "name", "label"]);
    };
  }
}), co = {
  install(e) {
    e.component("ProFormTextarea", so);
  }
};
export {
  co as default
};
